<!--
 * @Descripttion: 格式化列信息
 * @LastEditors: xzh
 * @LastEditTime: 2023-07-24 10:17:34
-->
<template>
  <!-- 文本内容 -->
  <span>{{ Table_Util.formatColumnValue(scope, tableHead) }}</span>
</template>

<script setup lang="ts">
import { Table_Util } from "../../util";

defineProps({
  //行信息数据源
  scope: {
    type: Object,
    requited: true,
    default: {},
  },
  //列配置信息
  tableHead: {
    type: Object,
    requited: true,
    default: {},
  },
});
</script>
<style lang="scss" scoped>
.el-image {
  height: 1.3rem;
  width: 1.3rem;
}
</style>
